Finding ID | Version | Rule ID | IA Controls | Severity |
---|---|---|---|---|
V-227681 | GEN001890 | SV-227681r603266_rule | Medium |
Description |
---|
Local initialization files are used to configure the user's shell environment upon login. Malicious modification of these files could compromise accounts upon logon. |
STIG | Date |
---|---|
Solaris 10 X86 Security Technical Implementation Guide | 2022-09-07 |
Check Text ( C-29843r488624_chk ) |
---|
Check user home directories for local initialization files with extended ACLs. # cut -d : -f 6 /etc/passwd | xargs -n1 -IDIR ls -alL DIR/.login DIR/.cshrc DIR/.logout DIR/.profile DIR/.bash_profile DIR/.bashrc DIR/.bash_logout DIR/.env DIR/.dtprofile DIR/.dispatch DIR/.emacs DIR/.exrc If the permissions include a "+", the file has an extended ACL, this is a finding. |
Fix Text (F-29831r488625_fix) |
---|
Remove the extended ACL from the file. # chmod A- [local initialization file with extended ACL] |